package com.product.system.service.impl;

import com.product.system.domain.FactoryProvince;
import com.product.system.mapper.FactoryProvinceMapper;
import com.product.system.service.FactoryProvinceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FactoryProvinceServicelmpl implements FactoryProvinceService {

    @Autowired
    FactoryProvinceMapper factoryProvinceMapper;
    @Override
    public List<FactoryProvince> provinceList() {
        return factoryProvinceMapper.provinceList();
    }

    @Override
    public List<FactoryProvince> cityList(Integer id) {
        return factoryProvinceMapper.cityList(id);
    }

    @Override
    public List<FactoryProvince> areaList(Integer id) {
        return factoryProvinceMapper.areaList(id);
    }
}
